package org.mx.dal.test.entity;

import org.mx.dal.annotation.ElasticField;
import org.mx.dal.annotation.ElasticIndex;
import org.mx.dal.entity.ElasticBaseEntity;

import co.elastic.clients.elasticsearch._types.mapping.Property.Kind;

@SuppressWarnings("javadoc")
@ElasticIndex("animal")
public class AnimalEntityElastic extends ElasticBaseEntity {
    /**
	 * 
	 */
	private static final long serialVersionUID = 2180722934311602420L;
	@ElasticField(type = Kind.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_smart")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
